//
//  InputView.m
//  PrivatePodspec
//
//  Created by YDY on 2024/11/27.
//

#import "InputView.h"
#import "Masonry.h"

@interface InputView ()


@property (nonatomic,strong) UILabel *titelLabel;

@end

@implementation InputView


- (instancetype)init
{
    self = [super init];
    if (self) {
        
        [self setBackgroundColor:UIColor.systemPinkColor];
        [self addSubview:self.titelLabel];
        [self.titelLabel mas_makeConstraints:^(MASConstraintMaker *make) {
           
            make.left.top.bottom.right.equalTo(self);
            make.height.mas_equalTo(50);
        }];
    }
    return self;
}


#pragma mark - lazy
-(UILabel *)titelLabel {
    if (!_titelLabel) {
        
        _titelLabel = [[UILabel alloc]init];
        [_titelLabel setFont:[UIFont systemFontOfSize:20]];
        [_titelLabel setText:@"1212122"];
    }
    return _titelLabel;
    
}
@end
